@charset "utf-8";

* { margin: 0; padding: 0; }
body, html { width: 100%; height: 100%; overflow: hidden; }

body { background: #808080; color: #000; font: normal 12px/1.2 Verdana, Arial, Helvetica, sans-serif; }

.button { display: inline-block; height: 22px; padding: 0 4px; background: #FFF; border: 1px solid #CCC; border-radius: 3px; line-height: 22px; cursor: pointer; color: #363; font: bold 11px Tahoma, sans-serif; text-shadow: 1px 1px rgba(102, 204, 102, 0.5); }
input.button { height: 24px; line-height: 24px; }

#videoPlayer { width: 100%; background: #000; outline: none; }
#videoPlayer.droptarget { background: #FFF; }
#videoPlayer:-webkit-full-screen,
#videoPlayer:full-screen { position: static; z-index: 99999; top: 0; left: 0; bottom: 0; right: 0; width: auto !important; height: auto !important; background: red; }

a.exit-fullscreen { visibility: hidden; position: absolute; top: 5px; right: 5px; display: inline; float: left; width: 24px; height: 24px; background: #FFF; }
#videoPlayer:-webkit-full-screen + a.exit-fullscreen,
#videoPlayer:full-screen + a.exit-fullscreen { visibility: visible; }

.sub-preview { width: 70%; position: absolute; left: 15%; padding: 4px 0; font-size: 22px; color: #FFF; text-shadow: -2px 0 #000, -2px 2px #000, 0 2px #000, 2px 2px #000, 2px 0 #000, 2px -2px #000, 0 -2px #000, -2px -2px #000; text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; cursor: default; }

#grid { overflow-x: hidden; position: relative; }
#grid table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #FFF; text-align: left; }
#grid tbody { overflow-y: scroll; }
#grid .time { width: 200px; }
#grid tr.currentLine { background: #FFFFB0; }
#grid th,
#grid td { height: 16px; border: 1px solid #CCC; padding: 3px 6px; }

#controls { height: 30px; }
#controls .subtitleControls { float: left; }
#controls .fileControls { float: right; }
#controls a { display: block; float: left; width: 24px; height: 24px; margin: 3px 0 0 3px; text-indent: -5000em; font-size: 0; line-height: 0; }

#controls .start { background: url(images/btn-start.png); }
#controls .stop { background: url(images/btn-stop.png); }
#controls .stop-start { background: url(images/btn-stop-start.png); }
#controls input { margin: 3px 0 0 3px; cursor: pointer; }
#controls input[type="file"] { width: 24px; height: 24px; padding: 0; border: 0; }
#controls input[type="submit"] { margin-left: 75px; }
#controls .text { background: url(images/btn-text.png); }
#controls .video { background: url(images/btn-video.png); }
#controls a { z-index: -1; }